]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[appDisplay] Use AUTOMATIC for apps-more, not ALWAYS
authorColin Walters <walters@verbum.org>
Mon, 22 Feb 2010 16:54:16 +0000 (11:54 -0500)
committerColin Walters <walters@verbum.org>
Mon, 22 Feb 2010 17:07:23 +0000 (12:07 -0500)
No need to display a scrollbar if we don't need to, and ALWAYS
isn't yet implemented anyways.

https://bugzilla.gnome.org/show_bug.cgi?id=609015

js/ui/appDisplay.js

index c3008513758db255e11bca6d9f98cb6cd8eabc5d..f8fea7a2dd2dedcfdb9986f6e6b15832afd680a0 100644 (file)
@@ -101,7 +101,7 @@ AllAppDisplay.prototype = {
         this._appView.connect('drag-begin', Lang.bind(this, this.close));
         this._scrollView.add_actor(this._appView.actor);
 
-        this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.ALWAYS);
+        this._scrollView.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
 
         this._workId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._redisplay));
     },